using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WebFoundation;
using WebFoundation.Data;

namespace MHI.InspectionManager.Interfaces
{
	/// <summary>
	/// DevPlandeviceT,table list interface:dev_plandevice_t 
	/// </summary>
	public interface IDevPlandeviceTList
	{
		IEnumerable<DevPlandeviceT> GetDevPlandeviceTAllItems();

		IEnumerable<DevPlandeviceT> GetDevPlandeviceTItemsById(int id);

		IEnumerable<DevPlandeviceT> GetDevPlandeviceTItemsByPlanJobId(int planJobId);

		IEnumerable<DevPlandeviceT> GetDevPlandeviceTItemsByDeviceId(int deviceId);

		bool AddDevPlandeviceT(DevPlandeviceT item);

		bool AddDevPlandeviceTs(DevPlandeviceT[] items);

		bool UpdateDevPlandeviceT(DevPlandeviceT item);

		bool UpdateDevPlandeviceTs(DevPlandeviceT[] items);

		bool DeleteDevPlandeviceT(DevPlandeviceT item);

		bool DeleteDevPlandeviceTs(DevPlandeviceT[] items);

		bool DeleteDevPlandeviceTByIds(int[] ids);

	}
}
